package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("device_pool")
public class DevicePool implements Serializable {
    private static final long serialVersionUID = 1L;
    //设备池主键id
    private Integer id;

    //设备号
    private String deviceName;

    //设备池名称
    private String poolName;

    //标识：1-设备A池；2-设备B池
    private String flag;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //修改时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    private Integer userId;

}
